﻿Imports System.Reflection
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        System.Diagnostics.Process.Start("Wys.VSSShift.exe")
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Dim frm As New Wys.VSSShift.MainForm
        frm.ShowDialog()
    End Sub

    Private Sub btn反射_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn反射.Click
        Dim al As Assembly = Assembly.Load("Wys.VSSShift")
        If al IsNot Nothing Then
            Dim ty As Object = al.CreateInstance("Wys.VSSShift.MainForm")
            If ty IsNot Nothing Then
                CType(ty, Form).ShowDialog()
            End If
        End If
    End Sub
End Class
